All Questions
1 question
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
15votes
5answers
9kviews
Is there a standard way or standard alternative to packing a struct in c?
When programming in C I have found it invaluable to pack structs using GCCs __attribute__((__packed__)) attribute so I can easily convert a structured chunk of volatile memory to an array of bytes to ...
- The Overflow Blog
- Featured on Meta
Related Tags
Hot Network Questions
- Is the rapid oxidation change from reddish-brown to black in copper dust after sanding a copper plate due to the dust's small particle size/exposure?
- Finding a probability of one random variable being minimum and another random variable being maximum among n i.i.d. random variables
- Result in opposite direction to hypothesis - one or two-tailed p-value?
- Which Western countries are looking to cancel procurement/collaboration programs for US weapon systems and how far has that proceeded?
- Using curly braces to process colon-separated variables
- How to extrude an area inward across front, top, and back without affecting adjacent faces?
- Physics equations with universal meaning possible?
- Estimating topological errors of a CCZ factory
- How To Handle Daughter's Bathroom (#2) Accident?
- Riddle in Cheshire Crossing comic
- A single word for dishonestly underselling one's own importance/credentials?
- What is tunneling? What does it mean to carry a service not normally provided by the network?
- Did Pope Francis die with only $100 cash and no other assets?
- In an exam question paper, how to put number distributions in margin without using `\hspace*{}`?
- Reasoning about quest and story deadlocks etc
- Implement PHMINPOSUW (Packed Horizontal Word Minimum)
- Attack bonus for a casterless Arcane Hand
- Double underline single label for bird ecology (BTO) notation in QGIS
- Slight modification of the Erdős–Rado theorem
- Should I use quick or delayed fuses in my panel?
- Algebraic proof that the left Maurer-Cartan form is well defined
- Locally free coherent module over open disc
- How can I enable atomic pasting in VIM, where the entire paste operation completes as a single action without interruption?
- Why are US executive orders so controversial? Aren't they just the chief executive telling the executive branch what to do?